<?php namespace App\Models\Phm;

use CodeIgniter\Model;
use CodeIgniter\Database\ConnectionInterface;
use CodeIgniter\Validation\ValidationInterface;

class ModelPHM extends Model
{
    var $Db;

    function __construct(ConnectionInterface $db = null, ValidationInterface $validation = null)
    {
        parent::__construct($db, $validation);
        //创建数据库连接
        $this->Db = \Config\Database::connect();
    }

    //查询下拉菜单
    //--------------------------------------------------------------------


}